package com.yuyou.fn.educational.service;

import com.yuyou.fn.educational.entity.RoomTime;
import com.github.wens.framework.service.ISuperService;
import org.springframework.scheduling.annotation.Async;

import java.util.Date;
import java.util.List;

/**
 *
 * RoomTime 表数据服务层接口
 *
 */
public interface IRoomTimeService extends ISuperService<RoomTime,Long> {


    @Async
    void saveOrUpdateRoomTime(Long classId);

    List<RoomTime> findRoomTimeByRoomId(Long roomId, Date start, Date end ,Long busTeamId);

    void detectConflict(Long classId, Long roomId);

}